package com.qkhero.api.builder;


import com.qkhero.core.common.request.Request;

import javax.servlet.http.HttpServletRequest;


/**
 * 解析HttpServletRequest转换成具体的业务请求对象
 * <p>
 * Created by zhengwei on 2017/4/16.
 */
public interface RequestBuilder<T extends Request> {

    T build(HttpServletRequest request);

    /**
     * 返回支持处理的api name
     *
     * @return 支持处理的api name
     */
    String supportApiName();

}
